home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / tools / developer-tools / andere sprachen / perl5 / perl5.002 / ext / sdbm_file / makefile.pl < prev    next >
Encoding:
Makefile  |  1996-01-31  |  556 b   |  23 lines

  1. use ExtUtils::MakeMaker;
  2.  
  3. # The existence of the ./sdbm/Makefile.PL file causes MakeMaker
  4. # to automatically include Makefile code for the targets
  5. #    config, all, clean, realclean and sdbm/Makefile
  6. # which perform the corresponding actions in the subdirectory.
  7.  
  8. WriteMakefile(
  9.     MYEXTLIB => 'sdbm/libsdbm$(LIB_EXT)',
  10.     MAN3PODS     => ' ',     # Pods will be built by installman.
  11.     XSPROTOARG => '-noprototypes',         # XXX remove later?
  12.     VERSION_FROM => 'SDBM_File.pm',
  13. );
  14.  
  15.  
  16. sub MY::postamble {
  17.     '
  18. $(MYEXTLIB): sdbm/Makefile
  19.     cd sdbm; $(MAKE) all
  20. ';
  21. }
  22.  
  23.